package com.example.mongodb.repository;

import java.util.Optional;

import org.bson.types.ObjectId;

import com.example.mongodb.base.BaseMongoDbRepository;
import com.example.mongodb.entity.Case;

public interface CaseRepository extends BaseMongoDbRepository<Case, ObjectId> {

	Optional<Case> findByCaseNum(String caseNum);
}
